package com.alameda.danmaku.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 视频弹幕数据显示对象
 *
 * @author Lv
 * @date 2024/10/07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ApVideoDanmakuVO", description = "视频弹幕")
public class ApVideoDanmakuVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 视频id
     */
    @ApiModelProperty(value = "视频id")
    private Long videoId;

    /**
     * 弹幕时刻
     */
    @ApiModelProperty(value = "弹幕时刻")
    private Float moment;

    /**
     * 弹幕内容
     */
    @ApiModelProperty(value = "弹幕内容")
    private String danmakuContent;

    /**
     * 弹幕颜色
     */
    @ApiModelProperty(value = "弹幕颜色")
    private String danmakuColor;

}
